const mongoose = require('mongoose')
const Schema = mongoose.Schema
const CommentSchema = new Schema({
  createTime: {
    type: Date,
    default: Date.now
  },
  observer: String,
  comment: {
    type: String,
    maxlength: 200
  },
  articleId: String
})
mongoose.model('Comment', CommentSchema)
